<?php

use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Alipay\AlipayController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

include base_path('routes/admin/admin.php');

//支付宝支付
Route::group(['prefix'=>'alipay'],function (){
    Route::get('wappay',[AlipayController::class,'alipayWapPay'])->name('alipay.wappay');
    Route::get('return',[AlipayController::class,'alipayReturn'])->name('alipay.return');
    Route::get('notify',[AlipayController::class,'alipayNotify'])->name('alipay.notify');
});

